package com.hd.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 * 通知公告阅读状态
 * @author hzhh123
 *
 */
@Entity
@Table(name="doc_notice_readed")
public class NoticeReaded implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name="id")
	private String id;
	/**
	 * 通知消息ID
	 */
	@Column(name="notice_id")
	private String noticeId;
	/**
	 * 阅读时间
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="read_time")
	private Date readTime;
	/**
	 * 阅读用户ID
	 */
	private String userid;
	private String type;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNoticeId() {
		return noticeId;
	}
	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}
	public Date getReadTime() {
		return readTime;
	}
	public void setReadTime(Date readTime) {
		this.readTime = readTime;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
	
}
